﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WFExtended.Twitter.Activities
{
    /// <summary>
    /// Twitter OAuth Tokens Extensions
    /// </summary>
    public class TwitterExtension
    {
        /// <summary>
        /// Gets or sets the tokens.
        /// </summary>
        /// <value>
        /// The tokens.
        /// </value>
        public OAuthTokens Tokens { get; set; }

        /// <summary>
        /// When EnableRateLimitAutoRetry is enabled, the proxy retry to invoke the method if a RateLimitException has been  throw
        /// </summary>
        /// <value>
        /// <c>true</c> if [enable rate limit auto retry]; otherwise, <c>false</c>.
        /// </value>
        public bool EnableRateLimitAutoRetry { get; set; }

        /// <summary>
        /// Delay between a retry
        /// </summary>
        /// <value>
        /// The rate limit auto retry delay.
        /// </value>
        public TimeSpan RateLimitAutoRetryDelay { get; set; }
    }
}
